import Index from '../pages/Index.vue'
import UserLogin from '../pages/UserLogin.vue'
import TeachPage from '../pages/TeachPage.vue'
import DoJobPage from '../pages/DoJobPage.vue'
import DoJobResultPage from '../pages/DoJobResultPage.vue'
import UserPage from '../pages/UserPage.vue'
import UserFollowPage from '../pages/UserFollowPage.vue'
import UserFollowMePage from '../pages/UserFollowMePage.vue'
import UserUpdatePage from '../pages/UserUpdatePage.vue'
import UserDetailPage from '../pages/UserDetailPage.vue'
import QuestionUnitPage from '../pages/QuestionUnitPage.vue'
import VideoDetailPage from '../pages/VideoDetailPage.vue'



//定义一些路由

const routes = [
    { path: '/', component: Index },
    { path: '/teach', title:'教学',component: TeachPage },
    { path: '/doJob', title:'做题',component: DoJobPage },
    { path: '/doJob/unit', title:'科目单元',component: QuestionUnitPage },
    { path: '/doJob/list', title:'题目列表',component: DoJobResultPage },
    { path: '/user/login', title:'登录',component: UserLogin },
    { path: '/user', title:'个人信息',component: UserPage },
    { path: '/user/follow', title:'我的关注',component: UserFollowPage },
    { path: '/user/followMe', title:'我的粉丝',component: UserFollowMePage },
    { path: '/user/update', title:'更新信息',component: UserUpdatePage },
    { path: '/user/detail', title:'用户详情',component: UserDetailPage },
    { path: '/video/videoDetail',title: '视频详情',component: VideoDetailPage }
]

export default routes
